package org.beian.fmmall.service;

import org.beian.fmmall.VO.ResultVO;
import org.beian.fmmall.beans.Orders;

import java.sql.SQLException;

public interface OrderService {
    public ResultVO addOrder(String cids, Orders order) throws SQLException;

    public int updateOrderStatus(String orderId,String status);
    public void closeOrder(String orderId);

    public ResultVO listOrders(String userId,String status,int pageNum,int limit);
}
